package org.design.commandPattern;

/**
 * SellStock
 *
 * @author 樊温军
 * @date 2025/6/11 下午2:18
 */
public class SellStock implements Order {
    private final Stock abcStock;

    public SellStock(Stock abcStock){
        this.abcStock = abcStock;
    }

    @Override
    public void execute() {
        abcStock.sell();
    }
}
